﻿using System.ServiceModel;
using ProtoBuf.ServiceModel;

namespace Framework.Wcf.ServiceContract
{
    [ServiceContract]
    public interface IPouet
    {
        [OperationContract, ProtoBehavior]
        Toto HelloWorld();

        [OperationContract, ProtoBehavior]
        [FaultContract(typeof (MyFault))]
        Toto HelloWorldException();
    }
}